<a class="sui-btn btn-primary" data-toggle="modal" data-target="#add-temp">添加快递单模板</a>
<div id="add-temp" tabindex="-1" role="dialog" data-backdrop="static" class="sui-modal hide " aria-hidden="true" style="margin-top: -235px;    width: 899px;height: 500px;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" data-dismiss="modal" aria-hidden="true" class="sui-close">×</button>
                <h4 id="myModalLabel" class="modal-title">添加快递单模板</h4>
            </div>
            <div class="d-tmp-tab">
                <print-type-tab ng-model="chosedType" click-tab="pageData()"></print-type-tab>
            </div>
            <div class="modal-body" style="height: 370px">
                <div class="tishi">模板列表</div>
                <div class="sys-temp-list">
                    <ul class="sui-nav nav-list" ng-repeat="(key,print) in printlist" style="margin-top: 2px">
                        <li ng-class="{'active': print_pub_id == print.print_pub_id}"><a ng-click='ChoiceTp(print.print_pub_id)'>{{print.name}}</a></li>
                    </ul>
                </div>
                <div class="sys-temp-info sui-form">
                    <div class="temp-top" style="margin-bottom:6px; ">
                        <span class="name">模板名称：</span>
                        <input type="text" class="input-large" ng-model="tpname">
                        <span class="name wlLd" style="margin-right: 14px;"></span>
                        <span class="size">尺寸:{{size}}</span>
                    </div>
                    <div>
                        <div ng-show="chosedType == 'express'">
                            <img ng-src="{{image}}" style="width: 600px;height:340px;overflow-y:scroll">
                        </div>
                        <div ng-show="chosedType == 'xiaopao'" class="d-tmp-xp-mb" style="width:300px;overflow-y:scroll;height:340px;">
                            <ul>
                                <li ng-repeat="(key, value) in content" style="height:10px" >
                                     <div style="text-align: center;">
                                        <p>{{value.name}}</p>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <!-- <div class="thumb" style="width: {{wid}}; ">
                            <div class="content"  >
                        </div> -->
                    <!-- {{image}} -->
                    <!-- <img ng-src="{{image}}" style="width: 550px;height: 300px"> -->
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <!-- <a>添加自定义模板</a> -->
            <button type="button" data-dismiss="modal" class="sui-btn btn-default">取消</button>
            <button type="button" class="sui-btn btn-primary" ng-click="addData($event)">确定</button>
        </div>
    </div>
</div>
</div>